If your system is nonhomogeneous and is in the following form:
then your general solution takes the form:
where
The complementary solution to a nonhomogeneous linear system of differential equations is the solution to the system if it was homogeneous?.
See particular-solution.
You have two main methods to find
A nonhomogeneous linear system is a linear system